.PHONY:all
all:tcp_cal tcpclient

tcp_cal:TcpserverMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp

tcpclient:TcpClientMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf tcp_cal tcpclient